package com.yuxl.admin.common.security.domain;

import com.yuxl.admin.manager.auth.core.entity.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class AuthUserDetails implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "token")
    private String authorization;
    @Schema(description = "用户")
    private AuthUser user;
    @Schema(description = "角色列表")
    private List<AuthRole> roles;
    @Schema(description = "菜单列表")
    private List<AuthMenu> menus;
    @Schema(description = "操作列表")
    private List<AuthOperate> operates;
    @Schema(description = "接口列表")
    private List<AuthInterface> inters;


}
